package org.springframework.study.config;

import org.springframework.context.annotation.Bean;
import org.springframework.study.bean.User;

public class AnnotationBeanConfiguration {

	@Bean
	public User user1() {
		return new User("张三", 18);
	}

	@Bean
	public User user2() {
		return new User("李四", 18);
	}

}
